<?php

function failed($msg = null)
{
	return response()->json([
		'status'  => false,
		'message' => $msg ?: trans('admin.delete_failed')
	]);
}